package controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class CommonController {

	@RequestMapping("/login")
	public String login(String username){
		System.out.println("username:"+username+"....age:");
		return "loginSuccess";
	}
	@RequestMapping("/regist")
	public String regist(){
		return "registSuccess";
	}
}
